package com.sfac.springBoot.modules.test.service;

import com.github.pagehelper.PageInfo;
import com.sfac.springBoot.modules.common.vo.Result;
import com.sfac.springBoot.modules.common.vo.Search;
import com.sfac.springBoot.modules.test.entity.City;

import java.util.List;

/**
 * City Service
 */
public interface CityService {
    Result<City> insert(City city);
    Result<City> update(City city);
    Result<Object> delete(int cityId);
    City queryById1(int cityId);
    List<City> queryById2(int countyId);
    PageInfo<City> queryById3(Search search);
}
